﻿@model IEnumerable <MvcMusicStore.Genre>

@{
    ViewBag.Title = "Store";
}
<h3>Browse Genres</h3>
<p>
    Select from @Model.Count()genres of albums:</p>
<ul>
 @foreach (var genre in Model)
    {
        <li>@Html.ActionLink(genre.nameGenre,"Browse", new { genre = genre.nameGenre})</li>
    }
@*
    @foreach (var genre in Model)
    {
        <li>@genre.nameGenre</li>
    }
*@
</ul>